package router

import (
	"github.com/gin-gonic/gin"
	"zk507/api/pkg"
)

func LoadApp(r *gin.Engine) {
	user := r.Group("user")
	{
		user.POST("/sms", UserSms)
		user.POST("/login", UserLogin)
		user.Use(pkg.JWTAuth("qq"))
		user.POST("/information/list", InformationList)
		user.POST("/information/synchronous", InformationSynchronous)
	}
}
